package cn.cgj.service;

import cn.cgj.domain.BusinessInfo;
import cn.cgj.service.repository.BusinessInfoRepository;

import java.util.List;

public interface BusinessInfoService {

    BusinessInfoRepository getRepository();

    BusinessInfo selectBusinessInfoById(Integer id);

    List<BusinessInfo> selectBusinessInfoList(BusinessInfo businessInfo);

    int insertBusinessInfo(BusinessInfo businessInfo);

    int updateBusinessInfo(BusinessInfo businessInfo);

    int deleteBusinessInfoById(Integer id);

    int deleteBusinessInfoByIds(String[] ids);

    int batchBusinessInfo(List<BusinessInfo> businessInfoList);
}
